﻿@model GC_RF.Site.Models.Account.RegisterModel
@{
	ViewBag.Title = "Регистрация";
}

@if (Model != null)
{
	using (Html.BeginForm("Register", "Account", FormMethod.Post))
	{
		<div class="page-header">
			<h2 class="page-title">Регистрация</h2>
		</div>
		<div class="content-inner">
			<div class="row">
				@Html.ValidationSummary()
			</div>
			<div class="row">
				<div class="col-md-3">
					@Html.LabelFor(model => model.UserName)
				</div>
				<div class="col-md-9">
					@Html.TextBoxFor(model => model.UserName)
				</div>
			</div>
			<div class="row">
				<div class="col-md-3">
					@Html.LabelFor(model => model.Email)
				</div>
				<div class="col-md-9">
					@Html.TextBoxFor(model => model.Email)
				</div>
			</div>
			<div class="row">
				<div class="col-md-3">
					@Html.LabelFor(model => model.Password)
				</div>
				<div class="col-md-9">
					@Html.PasswordFor(model => model.Password)
				</div>
			</div>
			<div class="row">
				<div class="col-md-3">
					@Html.LabelFor(model => model.ConfirmPassword)
				</div>
				<div class="col-md-9">
					@Html.PasswordFor(model => model.ConfirmPassword)
				</div>
			</div>
			<div class="row">
				<div class="col-md-12">
					<input type="submit" value="Регистрация">
				</div>
			</div>
		</div>
	}
}